home *** CD-ROM | disk | FTP | other *** search
/ Great Canadian Scientists / GCS_CD.iso / mac / PC / GCSData / prefs_o.dxr / 00007_SoundFX Toggle.ls < prev    next >
Encoding:
Text File  |  1996-09-01  |  352 b   |  15 lines

  1. on mouseUp
  2.   global SoundFX
  3.   repeat with count = 32 to 35
  4.     set the hilite of cast count to 0
  5.   end repeat
  6.   set the hilite of cast the castNum of sprite the clickOn to 1
  7.   repeat with count = 32 to 35
  8.     if the hilite of cast count = 1 then
  9.       set SoundFX to abs(count - 35)
  10.     end if
  11.   end repeat
  12.   SoundControl()
  13.   puppetSound("TestFX")
  14. end
  15.